home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / olrdrs / qprn112.zip / KQ-PACK.BAT < prev    next >
DOS Batch File  |  1994-05-12  |  1KB  |  28 lines

  1. REM This batch file is for repacking QWK packets with versions of
  2. REM KingQWK earlier than 1.05.  First, replace [king_work] with the
  3. REM work directory defined in KingQWK's configuration.
  4. REM
  5. REM The line "%1 -d -k %3 *.ndx" deletes the old .NDX files from the QWK
  6. REM packet.  It presumes you're using PKZIP.  You'll need to edit it if
  7. REM you're using another packer.  It also presumes you're passing one
  8. REM parameter to your packer, as in the line PKZIP -A.  If you are, the
  9. REM name of the QWK file will be %3.  If you're not passing any options,
  10. REM this parameter will be %2.  If you pass more than one option to the
  11. REM packer, increase this parameter number by 1 for each additional
  12. REM option.  %1 is the name of your unpacker.
  13. REM
  14. @echo off
  15. parmscan MESSAGES.DAT %1 %2 %3 %4 %5 %6 %7 %8 %9
  16. if not errorlevel 1 goto messages
  17. parmscan *.KRD %1 %2 %3 %4 %5 %6 %7 %8 %9
  18. if not errorlevel 1 goto bookmark
  19. %1 %2 %3 %4 %5 %6 %7 %8 %9
  20. goto endit
  21. :messages
  22. %1 -d -k %3 *.ndx
  23. %1 %2 %3 %4 %5 %6 %7 %8 %9 [king_work]\*.ndx
  24. goto endit
  25. :bookmark
  26. %1 %2 %3 %4 %5 %6 %7 %8 %9
  27. :endit
  28.